package com.whale.cloud.util.rest.schema;

import com.whale.cloud.util.rest.condition.EColumnAuthority;

import java.util.List;

/** Created by paco on 6/6/2017. */
public interface Function {
  public void initData();

  public void setFunction(T_SYS_FUNCTION t);

  public long getId();

  public String getDBName();

  public String getShowName();

  public Column getColumnByDBName(String dbName);

  public List<Column> getUserColumns(long userId, EColumnAuthority e);

  public Column getPK();

  public String getRealFunctionName();

  public Function getRealFunction();

  public boolean getIsBc();

  public String getDataBCClassName();

  public boolean getIsAc();

  public String getDataACClassName();

  public boolean getIsBm();

  public String getDataBMClassName();

  public boolean getIsAm();

  public String getDataAMClassName();

  public boolean getIsBd();

  public String getDataBDClassName();

  public boolean getIsSubmit();

  public String getDataSubmitClassName();

  public boolean getIsUnSubmit();

  public String getUnSubmitClassName();

  public List<Column> getByDBNames(String dbNames);

  public String getDataFrom();
}
